The following code shows how to use the data context as an array of double:
c1Chart1.Reset(true); c1Chart1.DataContext = new double[] { 1, 2, 3, 4, 5 }; c1Chart1.ChartType = ChartType.Column;
Copyright © GrapeCity, inc. All rights reserved.